<load href="__PUBLIC__/Js/inc.js"/>

<div class="all_div">
	<div class="clearfix all_top1">
        <div class="fl_l"><a href="__APP__"><img src="__PUBLIC__/images/home/logo.jpg" width="156" height="62" border="0" alt="奥坦斯布艺"></a></div>
        <div class="fl_r top_ss"><span class="top_sy"><a href="__APP__">首&nbsp;页</a></span><span class="top_sc"><a href="javascript:AddFavorite(window.location.href,document.title)">收&nbsp;藏</a></span><span class="top_lx"><a href="{:U('News/contact')}">联系我们</a></span></div>
      <div class="fl_r top_search">
        <form id="form_search" name="form_search" method="post" action="{:U('Search/index')}">
          <label>
          <input type="text" name="keyword" id="keyword" class="top_s_text">
          </label>
          <label>
          <select name="typeid" id="typeid">
            <option value="0">请选择类别</option>
            {$type_select}
          </select>
          </label>
          <label>
          <input type="submit" name="button" id="button" value="" class="top_s_btn">
          </label>
        </form>
      </div>
  </div>
  	<div class="Nav">
    	<div class="clearfix"><ul id="nav_list" class="fl_l"><li><a href="__APP__" onFocus="this.blur()">首页</a></li><li><a href="{:U('Product/index')}" onFocus="this.blur()">布艺</a></li><li><a href="{:U('Hotpro/index')}" onFocus="this.blur()">热卖产品</a></li><li><a href="{:U('Promotion/index')}" onFocus="this.blur()">促销产品</a></li><li><a href="{:U('Recommend/index')}" onFocus="this.blur()">推荐产品</a></li><li><a href="{:U('News/guide')}" onFocus="this.blur()">购物指南</a></li><li><a href="{:U('News/service')}" onFocus="this.blur()" class="end">售后服务</a></li></ul>
            <div class="fl_r"><span id="top_r_btn3"><a href="{:U('Cart/index')}" onFocus="this.blur()">购物车</a></span><span class="shop_gg" id="top_r_btn2"><a href="{:U('Preference/index')}" onFocus="this.blur()">优惠券专区</a></span><span class="shop_gg" id="top_r_btn1"><a href="{:U('News/index')}" onFocus="this.blur()">商城公告</a></span></div>
        </div>
		<div class="all_ad clearfix">
			<div class="fl_l">网站公告：</div>
			<div class="fl_l">
				<marquee direction="left" width="760" behavior="scroll" onmouseover=this.stop() onmouseout=this.start()>{$web_notice_one.title}</marquee>
			</div>
		</div>
    </div>
</div>
<script type="text/javascript" defer="defer">
var sfEls = document.getElementById("nav_list").childNodes;
var current_menu_id;
for (var i=0; i<sfEls.length; i++){
	if(i == current_menu_id){
		sfEls[i].className = "on_hover";
	}
}
</script>
<script type="text/javascript" defer="defer">
var ssbtn1 = document.getElementById("top_r_btn1");
var ssbtn2 = document.getElementById("top_r_btn2");
var ssbtn3 = document.getElementById("top_r_btn3");
var curr_btn_id;
if (curr_btn_id == 21)
{
	ssbtn1.className = "shop_ggf";
}
else{
	ssbtn1.className = "shop_gg";
}
if (curr_btn_id == 22)
{
	ssbtn2.className = "shop_ggf2";
}
else{
	ssbtn2.className = "shop_gg";
}
if (curr_btn_id == 23)
{
	ssbtn3.className = "shop_ggf";
}
else{
	ssbtn3.className = "";
}
</script>